﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rpt/reportmasterpage.Master" AutoEventWireup="true" CodeBehind="salebyareareport.aspx.cs" Inherits="Icoders.MarketTracker.Web.rpt.sales.salebyareareport" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">

   
    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
             <ContentTemplate>
 <fieldset>
             <legend>Report Filters</legend>
              <table id="report-filter">
        <tr>
            <td>
                From
            </td>
            <td>
                <asp:TextBox ID="TextBoxStartDate" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="TextBoxStartDate_CalendarExtender" runat="server" 
                    Enabled="True" Format="dd-MMM-yyyy" TargetControlID="TextBoxStartDate">
                </asp:CalendarExtender>
            </td>
            <td>
                To
            </td>
            
            <td>
                <asp:TextBox ID="TextBoxEndDate" runat="server"></asp:TextBox>
                <asp:CalendarExtender ID="TextBoxEndDate_CalendarExtender" runat="server" 
                    Enabled="True" Format="dd-MMM-yyyy" TargetControlID="TextBoxEndDate">
                </asp:CalendarExtender>
            </td>
        </tr>
                  <tr>
                      <td>
                          Product</td>
                      <td>
                          <asp:DropDownList ID="DropDownListProduct" runat="server" Width="300px">
                          </asp:DropDownList>
                      </td>
                      <td>
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td>
                          Country</td>
                      <td>
                          <asp:DropDownList ID="DropDownListCountry" runat="server" Width="300px" 
                              AutoPostBack="True" 
                              onselectedindexchanged="DropDownListCountry_SelectedIndexChanged">
                          </asp:DropDownList>
                      </td>
                      <td>
                          City</td>
                      <td>
                          <asp:DropDownList ID="DropDownListCity" runat="server" Width="300px" 
                              AutoPostBack="True" 
                              onselectedindexchanged="DropDownListCity_SelectedIndexChanged">
                          </asp:DropDownList>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          Area</td>
                      <td>
                          <asp:DropDownList ID="DropDownListArea" runat="server" Width="300px" 
                              AutoPostBack="True" 
                              onselectedindexchanged="DropDownListArea_SelectedIndexChanged">
                          </asp:DropDownList>
                      </td>
                      <td>
                          Zone</td>
                      <td>
                          <asp:DropDownList ID="DropDownListZone" runat="server" Width="300px" 
                              AutoPostBack="True" 
                              onselectedindexchanged="DropDownListZone_SelectedIndexChanged">
                          </asp:DropDownList>
                      </td>
                  </tr>
                  <tr>
                      <td>
                          FSR</td>
                      <td>
                          <asp:DropDownList ID="DropDownListFSR" runat="server" Width="300px">
                          </asp:DropDownList>
                      </td>
                      <td>
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td>
                          Point of Purchase</td>
                      <td>
                          <asp:DropDownList ID="DropDownListPOP" runat="server" Width="300px">
                          </asp:DropDownList>
                      </td>
                      <td>
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
        <tr>
            <td>
                
            </td>
            <td><asp:Button ID="ButtonView" runat="server" Text="View Report" 
                    onclick="ButtonView_Click" /></td>
             <td></td>
              <td></td>
        </tr>
    </table>
    </fieldset>
             </ContentTemplate>
            </asp:UpdatePanel>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Height="475px" 
        Width="100%">
</rsweb:ReportViewer>
</asp:Content>
